package com.camel.base.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.camel.core.entity.BasePaginationEntity;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @TableName tb_dict_value
 */
@TableName(value = "tb_dict_value")
@Data
public class TbDictValue extends BasePaginationEntity implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 所属字典KEY
     */
    @TableField(value = "dict_id")
    private Integer dictId;

    /**
     * 字典编码
     */
    @TableField(value = "dict_code")
    private String dictCode;

    /**
     * 字典值中文
     */
    @TableField(value = "dict_text")
    private String dictText;

    /**
     * 字典值
     */
    @TableField(value = "dict_val")
    private String dictVal;


    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
